package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WaybillMapper {

    /**
     * 查询运单信息
     *
     * @param page
     * @param vo
     * @return
     */
    List<WaybillVo> selectWaybillByCondition(@Param(value = "pageVo") PageVo pageVo, @Param(value = "waybillVo") WaybillNewsVo waybillVo);

    /**
     * 查询总记录数
     *
     * @param waybillVo
     * @return
     */
    int recordCount(@Param(value = "waybillVo") WaybillNewsVo waybillVo);

    /**
     * 查询提车交接单
     *
     * @param vo
     * @return
     */
    WaybillContactsVo selectWaybillLiftContact(@Param(value = "vo") WaybillContactsVo vo);

    /**
     * 查询交车交接单
     *
     * @param vo
     * @return
     */
    WaybillContactsVo selectWaybillDealContact(@Param(value = "vo") WaybillContactsVo vo);


    /**
     * query WaybillDelivery
     *
     * @return
     */
    List<WaybillDeliveryVo> listWaybillDelivery();

}
